{% extends "base.html" %}

{% block title %}Edit {{card_name}}{% endblock %}

{% block content %}
<div id="card">
  <div id="title">Editing {{card_name}}</div>
  <div id="contents">
    <form name="user_form" method="post" action="/user/{{card_name}}/save/">
      <div id="photo">
	&nbsp;
      </div>
      <div id="name">
	<span class="label">Realname</span>
	<span class="value"><input type="text" name="name" maxlength="20" value="{{name}}" /></span>
      </div>
      <div id="location">
	<span class="label">Location</span>
	<span class="value"><input type="text" name="location" maxlength="40" value="{{location}}" /></span>
      </div>
      <div id="post">
	<span class="label">Post</span>
	<span class="value"><input type="text" name="post" maxlength="60" value="{{post}}" /></span>
      </div>
      <div id="email">
	<span class="label">eMail</span>
	<span class="value"><input type="text" name="email" maxlength="80" value="{{email}}" /></span>
      </div>
      <div id="submit">
	<span class="label">&nbsp;</span>
	<span class="value"><input type="submit" value="Save page" /></span>
      </div>
    </form>
  </div>
</div>
{% endblock %}
